package cn.wind.xboot.logic.cli.service.impl;

import cn.wind.xboot.logic.cli.dao.CliPushMapper;
import cn.wind.xboot.logic.cli.entity.CliPush;
import cn.wind.xboot.logic.cli.service.ICliPushService;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;



/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xukk
 * @since 2018-08-13
 */
@Service
public class CliPushServiceImpl extends ServiceImpl<CliPushMapper, CliPush> implements ICliPushService {
    @Override
    public boolean saveCliPush(CliPush cliPush,Wrapper ew) {
           remove(ew);
           return save(cliPush);
    }
}
